- Inside Macintosh: Operating System Utilities /
- Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
- Routines
Performing Logical Operations
The Operating System supports five functions to support bit-level logical operations. The BitAnd, BitOr, BitXor, BitNot, and BitShift functions perform AND, OR, XOR, NOT, and bit-shifting operations, respectively. These routines are intended primarily for Pascal programmers. If you are programming in C, you can typically use C operators to perform the same logical operations more efficiently.
Subtopics
- BitAnd
-
- BitOr
-
- BitXor
-
- BitNot
-
- BitShift
-
© Apple Computer, Inc.
6 JUL 1996